import Http from '@/utils/request'

export const Login = (params: any) => {
  return Http.post( `login/`, params)
}

export const Register = (params: any) => {
  return Http.post( `register/`, params)
}

export const upload = (params: any) => {
  return Http.post( `file/upload`, params)
}

export const Insta360ScrapyIndexImg = (params: any) => {
  return Http.get( `insta360/scrapy/index/img/`, params)
}